package com.atguigu.cloud.service;

import com.atguigu.cloud.entities.Article;

import java.util.List;

public interface ArticleService {

    public int add(Article article);

    public int delete(Integer id);

    public int update(Article article);
    public Article getById(Integer id);

    public List<Article> getAll();

}
